const user = require('./user');
const shop = require('./shop');
const upload = require('./upload');

module.exports = app => {
    app.use(user.routes()).use(user.allowedMethods());
    app.use(shop.routes()).use(shop.allowedMethods());
    app.use(upload.routes()).use(upload.allowedMethods());
};